//
//  BGDBConfigProtocol.h
//  BTDatabaseAccesser
//
//  Created by XMac on 2018/4/23.
//  Copyright © 2018年 XMac. All rights reserved.
//

#import <Foundation/Foundation.h>
@class FMDatabase;
@protocol BGDBConfigProtocol <NSObject>
- (void)onConfigure:(FMDatabase *)database;

- (void)onCreate:(FMDatabase *)database;

- (void)onUpgrade:(FMDatabase *)database oldVersion:(NSInteger)oldVersion newVersion:(NSInteger)newVersion;

- (void)onDowngrade:(FMDatabase *)database oldVersion:(NSInteger)oldVersion newVersion:(NSInteger)newVersion;

- (void)onOpen:(FMDatabase *)database;
@end
